﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace WebNet.Configuration
{
    public class WebNetCountryConfigurationCollection : ConfigurationElementCollection
    {

        protected override ConfigurationElement CreateNewElement()
        {
            return new WebNetCountryConfigurationElement();
        }

        protected override object GetElementKey(ConfigurationElement element)
        {
            return ((WebNetCountryConfigurationElement)element).CountryCode;
        }
    }
}
